export default {
  path: '/userCenter',
  name: 'userCenter',
  redirect: '/userInfo',
  children: [
    {
      path: '/userInfo',
      component: () => import('@/views/UserCenter/UserInfo'),
      meta: {
        needToken: true
      }
    },
    {
      path: '/publishGoods',
      component: () => import('@/views/UserCenter/PublishGoods'),
      meta: {
        needToken: true
      }
    },
    {
      path: '/publishDemand',
      component: () => import('@/views/UserCenter/PublishDemand'),
      meta: {
        needToken: true
      }
    },
    {
      path: '/publishGoods2',
      component: () => import('@/views/UserCenter/PublishGoods2'),
      meta: {
        needToken: true
      }
    },
    {
      path: '/webView', component: () => import('@/views/UserCenter/WebView'),
      meta: {
        needToken: true
      }
    },
    {
      path: '/publishSpu', component: () => import('@/views/UserCenter/PublishSpu'),

      meta: {
        needToken: true
      }
    },
    {
      path: '/programme', component: () => import('@/views/UserCenter/Programme'),
      meta: {
        needToken: true
      }
    }
  ],
  component: () => import('@/views/UserCenter/UserCenter')
}
